package com.csg.ses.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * @auther wangjun
 * @time 2020/10/13 16:43
 * 数字化供电所平台接口调用
 */
@FeignClient(name = "dpss", url = "http://localhost:8001/dpss/api")
public interface DpssService {

    @RequestMapping(path = "/test/zzjg-list", method = RequestMethod.GET)
    Object testDpss();

    @RequestMapping(path = "/login", method = RequestMethod.POST)
    Object loginDpss(LinkedHashMap<String, String> login);
}